//
//  BabyDao.h
//  parent
//
//  Created by 闫珍 on 15/5/20.
//  Copyright (c) 2015年 ci123. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BabyInfo.h"
#import "DBManager.h"

@interface BabyDao : NSObject
+(BabyDao*)getInstance;
-(BOOL)saveBabyData:(NSDictionary*)dict;
-(BOOL)updateBabyInfo:(NSDictionary *)dict withCid:(NSUInteger)cid;
-(BabyInfo*)getBabyInfo:(NSUInteger)cid;
-(NSArray*)getBabies:(NSUInteger)pid;
-(BOOL)deleteBabyById:(NSUInteger)bid;
-(BOOL)setCurrentBaby:(BabyInfo *)baby;
@end
